package com.yxmadoc.umlproject.service;

import com.yxmadoc.umlproject.model.RepairPrice;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

public interface RepairPriceService {

	// 师傅报价
	// 修改报价
	RepairPrice save(RepairPrice repairPrice);

	// 取消报价
	void delete(Integer priceId);

	//师傅（我的报价）
	Page<RepairPrice> findAllByRepairerId(String repairerId, Pageable pageable);

	//顾客（我的报价）
	Page<RepairPrice> findAllByOrderId(Integer orderId, Pageable pageable);

}
